package com.lock.immersive.pojo.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.lock.immersive.pojo.enums.TuanProcess;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName tuan
 */
@TableName(value ="tuan")
@Data
public class Tuan implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer tuanId;

    /**
     * 团名称， 一团，二团
     */
    private String tuanName;

    /**
     * 0 未开始，1 意向金，2 定金， 3尾款
     */
    private TuanProcess tuanProcess;

    /**
     * 
     */
    private Integer productId;

    /**
     * 
     */
    private Integer merchantId;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;
    @TableField(exist = false)
    private Boolean isJoined = false;
    @TableLogic
    private Integer isDelete = 0;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}